﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Frame.aspx.cs" Inherits="Maticsoft.Web.Frame" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>考试系统</title>
    <script language="javascript" type="text/javascript" defer>
        history.forward();  
    </script>
 
<script>  
 
    //屏蔽鼠标右键、Ctrl+N、Shift+F10、F11、F5刷新、退格键     
 
    document.oncontextmenu= function(){event.returnValue=false;}//屏蔽鼠标右键   
 
    window.onhelp= function(){return false}       //屏蔽F1帮助   
 
    document.onkeydown = function () {
 
        if((window.event.altKey)&&   
 
          ((window.event.keyCode==37)||            //屏蔽Alt+方向键←   
 
          (window.event.keyCode==39))){            //屏蔽Alt+方向键→
 
            alert("不准你使用ALT+方向键前进或后退网页！");   
 
            event.returnValue=false;    
 
        }         if((event.keyCode==8)||                    //屏蔽退格删除键    
 
        (event.keyCode==116)||                   //屏蔽F5刷新键   
 
        (event.ctrlKey && event.keyCode==82)){   //Ctrl+R   
 
            event.keyCode=0;   
 
            event.returnValue=false;   
 
        }   
 
        if(event.keyCode==122){event.keyCode=0;event.returnValue=false;}    //屏蔽F11   
 
        if(event.ctrlKey && event.keyCode==78)event.returnValue=false;      //屏蔽Ctrl+n   
 
        if(event.shiftKey && event.keyCode==121)event.returnValue=false;    //屏蔽shift+F10   
 
        if(window.event.srcElement.tagName=="A" && window.event.shiftKey)     
 
            window.event.returnValue=false;       //屏蔽shift加鼠标左键新开一网页   
 
        if((window.event.altKey)&&(window.event.keyCode==115)){             //屏蔽Alt+F4    
 
            window.showModelessDialog("about:blank","","dialogWidth:1px;dialogheight:1px");   
 
            return false;   
 
        }   
 
    }   
 
</script>   
 
    <script type="text/javascript" language="javascript">
        if (window != top) top.location = location;
        var Left_Width, Door_Width, Right_Width;
        //隐藏最左边的VIEW
        function HideLeft() {
            SetSize("0", "9", "*");
        }
        //显示最左边的VIEW
        function ShowLeft() {
            SetSize("290", "9", "*");
        }
        function SetSize(Left_Width1, Door_Width1, Right_Width1) {
            Left_Width = Left_Width1;
            Door_Width = Door_Width1;
            Right_Width = Right_Width1;

            document.getElementById("fmenu").cols = "" + Left_Width + "," + Door_Width + "," + Right_Width + "";
        }
        window.status = "考试系统";
    </script>
</head>
<frameset rows="95,*" border="0" framespacing="0" frameborder="0" marginhight="0" noresize="0">
    <frame src="Top.aspx" frameborder=0 noresize="0" scrolling="no"></frame>
    <frameset id="fmenu" cols="290,9,*" scrolling="no">
        <frame name="leftTree" src="LeftTree.aspx" frameborder=0 scrolling="NO" noresize="0" ></frame>
        <frame name="door" src="Door.aspx" scrolling="NO"></frame>
        <frame name="frightBottom" src="ListT.aspx" frameborder="0" noresize="0"></frame>
    </frameset>
     <%--<frame src="Bottom.aspx" frameborder=0 noresize="0" scrolling="no"></frame>--%>
</frameset>
</html>
